package com.ww.myblog.dao;

import com.ww.myblog.po.User;
import org.springframework.data.jpa.repository.JpaRepository;
// 检查用户名是否存在，存在的话密码是否正确。dao层
public interface UserRepository extends JpaRepository<User,Long> {
    User findByUsernameAndPassword(String username,String passwore);
}
